/**
 * Program   :   OptionListBaseAction.java
 * Author    :   shadow guo
 * Create    :   2013-6-25 上午11:26:11
 *
 * Copyright 2008 by Tongfu Information Technology Co. Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Tongfu Information Technology Co. Ltd.
 * 
 */
package com.tongfusoft.web.core.action;

import java.util.List;
import java.util.Map;

import com.tongfusoft.web.core.data.OptionData;
import com.tongfusoft.web.core.service.IOptionListService;

public class OptionListBaseAction extends BaseAction{
	private IOptionListService optionListService;
	
	private Map<String,List<OptionData>> result ;

	public IOptionListService getOptionListService() {
		return optionListService;
	}

	public void setOptionListService(IOptionListService optionListService) {
		this.optionListService = optionListService;
	}

	public Map<String, List<OptionData>> getResult() {
		return result;
	}

	public void setResult(Map<String, List<OptionData>> result) {
		this.result = result;
	}
	
	public String options(){
		result = this.getOptionListService().getOptions(super.getAllParamMap());
		return "options";
	}
	
	
}
